package Frame.screen;

import FCRendering.FCRMaster;
import FCRendering.ImageUtil;

import java.awt.*;

import static FCRendering.FCRMaster.fcv;

public class FilghtBattleMouseScreen extends IScreen{
    @Override
    public void dispatchPaintComponent(Graphics g, FCRMaster fcrMaster) {
        //战斗鼠标
        if (fcv.isBattleReady() && fcv.isBattlePlayerSelect()) {
            g.drawImage(ImageUtil.getImage("battlecrosshair"), (int) (fcv.getMouseX() - 30 * fcv.getProportion()),
                    (int) (fcv.getMouseY() - 30 * fcv.getProportion()),
                    (int) (60 * fcv.getProportion()), (int) (60 * fcv.getProportion()), this);
        }
    }

    @Override
    public void setBounds() {

    }
}
